<div class="ui main grid">
    <!-- Responsive top menu -->
    <div class="ui secondary pointing fluid menu">
        <h2 class="ui header">个人面板管理
        </h2>
        <div class="ui right floated main menu">
            <a class="ui blue button" ng-click="newOrder()" href="javascript:;" tabindex="0">
                <i class="plus icon"></i>添加面板
            </a>
        </div>
    </div>
    <div class="ui grid row">
        <div class="ui sixteen wide column">
            <table class="ui yellow table">
                <thead>
                    <tr>
                        <th>标题</th>
                        <th>创建时间</th>
                        <th>最后更新</th>
                        <th>审核状态</th>
                        <th>操作</th>
                    </tr>
                </thead>
                <tbody>
                    <tr ng-repeat="vlog in logs">
                        <td>【{{vlog.typename}}】- {{vlog.title}}</td>
                        <td>{{vlog.create_time}}</td>
                        <td>{{vlog.update_time}}</td>
                        <td>{{vlog.audit_res}}</td>
                        <td>
                            <button class="ui small blue icon button" rel="{{vlog.log_id}}" ng-click="showEdit()" ng-show="vlog.audit_res != 1 ">
                                <i class="edit icon"></i>编辑
                            </button>
                            <button class="ui small red icon button"   rel="{{vlog.log_id}}" ng-click="delLog()">
                                <i class="delete icon"></i>删除
                            </button>
                        </td>
                    </tr>
                </tbody>
            </table>
            <div ng-show="dashspage.pageAll > 1" class="ui pagination menu" jspagination   page-object="dashspage" page-func="getDashList" ></div>
        </div>
    </div>
</div>
<div class="ui add modal">
    <i class="close icon"></i>
    <div class="header">
        添加日程
    </div>
    <div class="ui borderless form segment">
        <form action="#" name="frm-add" id="frm-add">
        <div class="ui form">
            <div class="ui fluid right labeled input">
                <div class="ui label">日志标题</div>
                <input type="text" name="title" placeholder="请填写日志标题　">
            </div>
            <div class="inline fields" style="margin-top:5px;">
                <div class="field">
                    <label>类型</label>
                    <select name="type">
                        <option value="{{sel.k}}" ng-repeat="sel in logtypes" >{{sel.v}}</option>
                    </select>
                </div>
                <div class="field">
                    <label>创建时间</label>
                    <div class="ui left icon input">
                      <input type="text" name="create_time"  />
                      <i class="calendar icon"></i>
                    </div>
                </div>
                <div class="field">
                    <label>更新时间</label>
                    <div class="ui left icon input">
                      <input type="text" name="update_time"  />
                      <i class="calendar icon"></i>
                    </div>
                </div>
            </div>
            <div class="field">
                <label>日志内容</label>
                <textarea name="content"></textarea>
            </div>
        </div>
    </form>
    </div>
    <div class="actions">
      <div class="ui negative button">
        取消
      </div>
      <div class="ui positive button" >
        添加日程
      </div>
    </div>
</div>
<div class="ui edit modal">
    <i class="close icon"></i>
    <div class="header">
        修改日程
    </div>
    <div class="ui borderless form segment">
        <form action="#" name="frm-edit" id="frm-edit">
        <input type="hidden" name="log_id">
        <div class="ui form">
            <div class="ui fluid right labeled input">
                <div class="ui label">日志标题</div>
                <input type="text" name="title" placeholder="请填写日志标题　">
            </div>
            <div class="inline fields" style="margin-top:5px;">
                <div class="field">
                    <label>类型</label>
                    <select name="type">
                        <option value="{{sel.k}}" ng-repeat="sel in logtypes" >{{sel.v}}</option>
                    </select>
                </div>
                <div class="field">
                    <label>创建时间</label>
                    <div class="ui left icon input">
                      <input type="text"  name="create_time" disabled="true" />
                      <i class="calendar icon"></i>
                    </div>
                </div>
                <div class="field">
                    <label>更新时间</label>
                    <div class="ui left icon input">
                      <input type="text" name="update_time" disabled="true" />
                      <i class="calendar icon"></i>
                    </div>
                </div>
            </div>
            <div class="field">
                <label>日志内容</label>
                <textarea name="content"></textarea>
            </div>
        </div>
    </form>
    </div>
    <div class="actions">
      <div class="ui negative button">
        取消
      </div>
      <div class="ui positive button" >
        保存修改
      </div>
    </div>
</div>
<div class="ui small del modal transition"  id="del-model" >
    <div class="header">
        删除日志信息确认？
    </div>
    <div class="content">
        <p></p>
    </div>
    <div class="actions">
        <div class="ui positive button">
            否
        </div>
        <div class="ui negative button">
            删除
        </div>
    </div>
  </div>
<script type="text/javascript">
    $(function(){
    });
</script>